package com.ojoin.trade.supplyloan_core.web.domain;

import java.util.Date;

import com.ojoin.trade.common.utils.MoneyUtil;

/**
 * Created with IntelliJ IDEA. User: Administrator Date: 15-10-29 Time: 下午2:55
 * To change compare template use File | Settings | File Templates.
 */
public class TbSlLoanStatTotalVoCompareForExport {

	/**
	 * 
	 */
	private TbSlLoanStatTotalVoCompare compare;

	public String getStoreorder() {
		return MoneyUtil.getDisplayRMB(compare.getTotalUnsettleInstoreorder()
				+ compare.getTotalUnenterinRefundorder());
	}

	public String getTotalAllChange() {
		return MoneyUtil.getDisplayRMB(compare.getTotalAll()
				- compare.getBeforetotalAll());
	}

	public String getStoreorderChange() {
		return MoneyUtil.getDisplayRMB(compare.getTotalUnsettleInstoreorder()
				+ compare.getTotalUnenterinRefundorder()
				- compare.getBeforetotalUnenterinRefundorder()
				- compare.getBeforetotalUnsettleInstoreorder());
	}

	public String getUnpaySettleorderChange() {
		return MoneyUtil.getDisplayRMB(compare.getTotalUnpaySettleorder()
				- compare.getBeforetotalUnpaySettleorder());
	}

	public String getUnpaySettleorderCheckChange() {
		return MoneyUtil.getDisplayRMB(compare.getTotalUnpaySettleorderCheck()
				- compare.getBeforetotalUnpaySettleorderCheck());
	}

	public String getPaySettleorderChange() {
		return MoneyUtil.getDisplayRMB(compare.getTotalUnpaySettleorder()
				- compare.getBeforetotalPaySettleorder());
	}

	public TbSlLoanStatTotalVoCompare getCompare() {
		return compare;
	}

	public void setCompare(TbSlLoanStatTotalVoCompare compare) {
		this.compare = compare;
	}

	// 按不同的平台进行数据的显示
	public String getTotalAll() {

		return MoneyUtil.getDisplayRMB(compare.getTotalAll());
	}

	public String getNewPaySettleorder() {
		return MoneyUtil.getDisplayRMB(compare.getNewPaySettleorder());
	}

	public String getBeforetotalAll() {
		return MoneyUtil.getDisplayRMB(compare.getBeforetotalAll());
	}

	public String getNewUnsettleInstoreorder() {
		return MoneyUtil.getDisplayRMB(compare.getNewUnsettleInstoreorder());
	}

	public String getNewUnenterinRefundorder() {
		return MoneyUtil.getDisplayRMB(compare.getNewUnenterinRefundorder());
	}

	public String getNewUnpaySettleorder() {
		return MoneyUtil.getDisplayRMB(compare.getNewUnpaySettleorder());
	}

	public String getSettlementState() {
		return compare.getSettlementState();
	}

	public String getTotalUnsettleInstoreorder() {
		return MoneyUtil.getDisplayRMB(compare.getTotalUnsettleInstoreorder());
	}

	public String getTotalUnenterinRefundorder() {
		return MoneyUtil.getDisplayRMB(compare.getTotalUnenterinRefundorder());
	}

	public String getTotalUnpaySettleorder() {
		return MoneyUtil.getDisplayRMB(compare.getTotalUnpaySettleorder());
	}

	public String getTotalPaySettleorder() {
		return MoneyUtil.getDisplayRMB(compare.getTotalPaySettleorder());
	}

	public String getBeforetotalUnsettleInstoreorder() {
		return MoneyUtil.getDisplayRMB(compare
				.getBeforetotalUnsettleInstoreorder());
	}

	public String getBeforetotalUnenterinRefundorder() {
		return MoneyUtil.getDisplayRMB(compare
				.getBeforetotalUnenterinRefundorder());
	}

	public String getBeforetotalUnpaySettleorder() {
		return MoneyUtil
				.getDisplayRMB(compare.getBeforetotalUnpaySettleorder());
	}

	public String getBeforetotalPaySettleorder() {
		return MoneyUtil.getDisplayRMB(compare.getBeforetotalPaySettleorder());
	}

	public String getPlatformName() {
		return compare.getPlatformName();
	}

	public String getMhtname() {
		return compare.getMhtname();
	}

	public String getStatEndDate() {
		return compare.getStatEndDate();
	}

	public String getPlatformUname() {
		return compare.getPlatformUname();
	}

	public String getPlatformCnname() {
		return compare.getPlatformCnname();
	}

	public String getTotalUnpaySettleorderCheck() {
		return MoneyUtil.getDisplayRMB(compare.getTotalUnpaySettleorderCheck());
	}

	public String getBeforetotalUnpaySettleorderCheck() {
		return MoneyUtil.getDisplayRMB(compare
				.getBeforetotalUnpaySettleorderCheck());
	}

	public String getPlatformMemo() {
		return compare.getPlatformMemo();
	}

	public Date getRowUpdateTime() {
		return compare.getRowUpdateTime();
	}

	public String getUpdateTime() {
		return compare.getUpdateTime();
	}

}
